% FEUP THESIS STYLE for LaTeX2e
% how to use feupteses (changed from the original for MIEEC)
%
% FEUP, JCL & JCF, Tue May 20 18:53:15 2008
%
% PLEASE send improvements to jlopes at fe.up.pt, jcf at fe.up.pt
%

%%========================================
%% Commands: pdflatex mieic
%%           bibtex mieic
%%           makeindex mieic (only if crating an index) 
%%           pdflatex mieic
%%========================================

%% For one side layout comment next line and uncomment the second line
\documentclass[11pt,a4paper,twoside,openright]{report}
%\documentclass[11pt,a4paper]{report}

%% For iso-8859-1 (latin1), comment next line and uncomment the second line
\usepackage[utf8]{inputenc}
%\usepackage[latin1]{inputenc}

%% Use option portuges if needed
\usepackage[portuges]{babel}

%% For the final version, comment next line and uncomment the second line
\usepackage[portuges,provisional,alpharefs]{feupteses}      
%\usepackage[portuges,alpharefs]{feupteses} 

%% Options: 
%% - portuges: titles, etc in portuguese
%% - provisional: the thesis has not been approved yet
%% - print: links are not shown (for paper versions)
%% - alpharefs: bibliography references are alphabetic
%% - numericrefs: bibliography references are numbered (in order of citation)
%% ( by default: author-date format of the ``natbib'' package is used 
%%   the portuguese version requires the file ``plainnat-pt.bst'' to be 
%%   present in the same directory )

%% Include MIEIC definitions (differences from standard feupteses.sty)
\usepackage{mieicpatch}

%% Provide a version number in order to keep track of
%% thesis versions (it will printed in the footer of most pages)

\version{0.99}

%% Uncomment in the final version in order to make version footer disappear
\noversiontrue                 

%% Uncomment to create an index (at the end of the document)
%\makeindex                      

%% Path to the figures directory
%% TIP: use folder ``figures'' to keep all your figures
\graphicspath{{figures/}}       

%%----------------------------------------
%% TIP: if you want to define more macros, use an external file to
%% keep them
\include{mymacros}
%%----------------------------------------

%%========================================
%% Start of document
%%========================================
\begin{document}

%%----------------------------------------
%% Information about the work
%%----------------------------------------
\title{Web Systems Project}
\author{Miguel Eduardo Fernandes Gomes \\Vítor Manuel Martins Oliveira}
%%\degree{Mestrado Integrado em Engenharia Inform\'atica e Computa\c{c}\~ao}
%% Date of submission
%%\thesisdate{28 de Junho de 2010}

%% Insert copyright text if used
%\copyrightnotice{Nome do Autor, 2010}

%%\supervisor{Orientador}{Nome do Orientador}{(T\'itulo)}
%% Uncomment next line if necessary
%\supervisor{Co-orientador}{Nome de Outro Orientador}{(T\'itulo)}

%% Committee stuff for final version
%%\committeetext{Aprovado em provas p\'ublicas pelo j\'uri:}
%%\committeemember{Presidente}{Nome do Presidente}{(T\'itulo)}
%%\committeemember{Vogal Externo}{Nome do Arguente}{(T\'itulo)}
%%\committeemember{Orientador}{Nome do Orientador}{(T\'itulo)}
%%\signature
%%\committeedate{31 de Julho de 2010}

%% Specify cover logo (in folder ``figures'')
%%\logo{feup-logo.pdf}

%\setcounter{tocdepth}{3}   % sets the depth of sectional units listed in the toc

%%----------------------------------------
%% Cover page(s)
%%----------------------------------------
\maketitle

%% Uncomment next line in the final version
%%\committeepage
%MIEEC uses an external PDF page with the signatures (juri.pdf)
%\includepdf[pagecommand={},noautoscale=false,fitpaper=true,pages=-]{juri.pdf}

%% Preliminary materials
%%\StartPrelim
%%\begin{singlespace}
  %%\include{abstract} % the abstract
  %%\include{acknows}  % the acknowledgments
  %\include{quote}    % initial quotation if desired
  %%\cleardoublepage
  %%\pdfbookmark[0]{Conteúdo}{contents}
  %%\tableofcontents
  %%\cleardoublepage
  %%\pdfbookmark[0]{Lista de Figuras}{figures}
  %%\listoffigures
  %%\cleardoublepage
  %%\pdfbookmark[0]{Lista de Tabelas}{tables}
  %%\listoftables
  %%\cleardoublepage
  %%\pdfbookmark[0]{Abreviaturas e Símbolos}{abbrevs}
  %%\include{abbrevs}  % the list of abbreviations used
%%\end{singlespace}

%%----------------------------------------
%% Body
%%----------------------------------------
\StartBody

%% TIP: use a separate  file for each
\include{chapter1} 
\include{chapter2}
\include{chapter3}
\include{chapter4}
\include{chapter5} 

%%----------------------------------------
%% Final materials
%%----------------------------------------

\begin{singlespace}
  %% Bibliography
  %% Comment the next command if BibTeX file not used; bibliography is in ``myrefs.bib''
  \PrintBib{myrefs}

  %% Index
  %% Uncomment next command if index is required, don't forget to run ``makeindex mieic'' command
  %\PrintIndex

  %% Comment next 2 commands if numbered appendixes not used
  \appendix
  \include{appendix1}
\end{singlespace}

\end{document}
